<div class="slidLi_Jin li01_Jin">
	<div class="slidLiIn_Jin">
		<h3>
		<b>观星台DEMO</b>
		<i>丨</i>
		<span><img alt="" src="" /></span>
		</h3>
		<h1>观星台<span>烟灶套装</span>行业</h1><h4>简要分析报告</h4>
		<h2>2018.01.01 - 2018.07.31</h2>
	</div>
</div>
<script>
var logoPath = 'statics/images/logo/logoExp.png';
</script><div class="slidLi_Jin li02_Jin" id="PPT_catalogue3"></div>
<script>
$(function(){
	var listData = [["行业发展分析","发展趋势","行业概况","市场定位","消费情况","行业爆款","销售渠道","整体评价情况","用户关注"]];
	easyReportData.renderList('PPT_catalogue3', listData);
	summary.push('<h3>行业发展分析</h3><div class="c1_Jin"></div>');
})
</script><div class="slidLi_Jin" id="PPT_content4">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>发展趋势：近<b class="data_Jin">6</b>个月行业线上销额<b class="data_Jin">呈上涨趋势</b></span></h1>
			<h2><i></i><b>行业趋势：</b>线上烟灶套装行业的销额<b class="data_Jin">呈上涨趋势</b>，月均<b class="data_Jin">增幅17%</b>。</h2>
			<h2><i></i><b>美的表现：</b>美的的销额<b class="data_Jin">由6月的AA增至12月的BB，呈上涨趋势，月均增幅C%</b>；销额份额<b class="data_Jin">由7月的DD增至12月的EE，呈上涨趋势</b>。</h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [{
		chartTitle: '烟灶套装',
		dataCategory: 'month',
		dataValue: 'salestotal',
		xAxisName: '时间 ',
		yAxisName: '销额（万元）',
		type: 1,
		chartData: [{"month":"2018-01","salestotal":20178.47},{"month":"2018-02","salestotal":6845.95},{"month":"2018-03","salestotal":26768.63},{"month":"2018-04","salestotal":27370.74},{"month":"2018-05","salestotal":26694.14},{"month":"2018-06","salestotal":45139.99},{"month":"2018-07","salestotal":22925.59}]
	}, {
		chartTitle: '美的',
		dataCategory: 'month',
		dataValue: ['salestotal','salesshare'],
		xAxisName: '时间 ',
		yAxisName: ['销额（万元）','销额份额（%）'],
		type: 2,
		chartData: [{"month":"2018-01","salestotal":3403.92,"salesshare":18.24},{"month":"2018-02","salestotal":934.74,"salesshare":15.33},{"month":"2018-03","salestotal":3539.2,"salesshare":14.15},{"month":"2018-04","salestotal":3953.88,"salesshare":15.43},{"month":"2018-05","salestotal":3571.41,"salesshare":14.63},{"month":"2018-06","salestotal":4584.1,"salesshare":10.8},{"month":"2018-07","salestotal":1983.4,"salesshare":9.86}]
	}];
	try{
		var PptDatat = {};
		PptDatat.data10 = []; //行业趋势数据
		PptDatat.data20 = []; //销额数组
		PptDatat.data30 = []; //销额份额数组
		var saleName;
		saleName='销额'
		PptDatat.fixMonth = chart[0].chartData.length;
		PptDatat.fixMonth01 = chart[1].chartData.length;
		for (var i = 0; i < PptDatat.fixMonth; i++) {
			PptDatat.data10.push(chart[0].chartData[i].salestotal)
		}
		for (var i = 0; i < PptDatat.fixMonth01; i++) {
			PptDatat.data20.push(chart[1].chartData[i].salestotal)
			PptDatat.data30.push(chart[1].chartData[i].salesshare)
		}
		PptDatat.text10 = easyReportData.returnText01(PptDatat.data10);
		PptDatat.text20 = easyReportData.returnText01(PptDatat.data20);
		PptDatat.text30 = easyReportData.returnText01(PptDatat.data30);
		PptDatat.text11 = easyReportData.returnText02(PptDatat.data10).text
		PptDatat.text21 = easyReportData.returnText02(PptDatat.data20)
		PptDatat.text31 = easyReportData.returnText02(PptDatat.data30)
		PptDatat.text22 = PptDatat.text21.text
		PptDatat.text32 = PptDatat.text31.text
		var text20, text30
		if (PptDatat.text21.val == 1) {
			text20 = '由' + (chart[1].chartData[0].month.split("-")[1]-0) + '月的' + chart[1].chartData[0].salestotal + '万增至' + (chart[1].chartData[PptDatat.fixMonth01 - 1].month.split("-")[1]-0)+ '月的' + chart[1].chartData[PptDatat.fixMonth01 - 1].salestotal + '万，' + PptDatat.text20 + '，' + PptDatat.text22;
		} else if (PptDatat.text21.val == -1) {
			text20 = '由' + (chart[1].chartData[0].month.split("-")[1]-0) + '月的' + chart[1].chartData[0].salestotal + '万降至' + (chart[1].chartData[PptDatat.fixMonth01 - 1].month.split("-")[1] -0)+ '月的' + chart[1].chartData[PptDatat.fixMonth01 - 1].salestotal + '万，' + PptDatat.text20 + '，' + PptDatat.text22;
		} else {
			text20 = PptDatat.text20 + '，' + PptDatat.text22
		}
		if (PptDatat.text31.val == 1) {
			text30 = '由' + (chart[1].chartData[0].month.split("-")[1]-0) + '月的' + chart[1].chartData[0].salesshare + '%增至' + (chart[1].chartData[PptDatat.fixMonth01 - 1].month.split("-")[1]-0) + '月的' + chart[1].chartData[PptDatat.fixMonth01 - 1].salesshare + '%，' + PptDatat.text30 + '';
		} else if (PptDatat.text31.val == -1) {
			text30 = '由' + (chart[1].chartData[0].month.split("-")[1]-0) + '月的' + chart[1].chartData[0].salesshare + '%降至' + (chart[1].chartData[PptDatat.fixMonth01 - 1].month.split("-")[1]-0) + '月的' + chart[1].chartData[PptDatat.fixMonth01 - 1].salesshare + '%，' + PptDatat.text30 + '';
		} else {
			text30 = PptDatat.text30 + ''
		}
		chart[0].chartTitle = '近' + PptDatat.fixMonth + '个月'+chart[0].chartTitle+'行业销售趋势'
		chart[1].chartTitle = '近' + PptDatat.fixMonth + '个月'+chart[1].chartTitle+'销售趋势'
		if(saleName=='销量'){
			chart[0].yAxisName= '销量（万件）'
			chart[1].yAxisName= ['销量（万件）','销量份额（%）']
		}
		var fixData = [PptDatat.fixMonth, PptDatat.text10, PptDatat.text10, PptDatat.text11, text20, text30]
	} catch (e) {
		console.log('报表4出错');
		console.log(e);
		$('#PPT_content4').removeAttr('class');
		$('#PPT_content4').css('display','none');
	}
	setTimeout(function(){
		easyReportData.renderCharts('PPT_content4', chart, fixData);
	}, 500);
	summary.push('<h2><i></i>发展趋势：近'+PptDatat.fixMonth+'个月行业线上销额'+PptDatat.text10+'。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content25">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>行业概况：行业高度集中，方太销额排名第一</span></h1>
			<h2><i></i><b>行业集中度：</b>TOP10品牌销额占行业总销额90.34%，方太，老板，华帝共占59.68%市场份额。</h2>
			<h2><i></i><b>销额：</b>销额前三的品牌是方太，老板，华帝，其中美的排名第4。</h2>
			<h2><i></i><b>销量：</b>销量前三的品牌是美的，老板，方太，其中美的排名第1。</h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
		{   chartTitle: 'TOP10品牌 销额&销量',
			dataCategory: 'brand',
			dataValue: ['saletotal','sale'],
			xAxisName: '品牌 ',
			yAxisName: ['销额（万）','销量（万）'],
			type: 2,
		chartData: [{"brand":"方太","saletotal":33614.18,"sale":6.47},{"brand":"老板","saletotal":31259.7,"sale":7.15},{"brand":"华帝","saletotal":21847.85,"sale":6.38},{"brand":"美的","saletotal":18790.5,"sale":7.69},{"brand":"苏泊尔","saletotal":8251.5,"sale":4.32},{"brand":"海尔","saletotal":6151.72,"sale":3.28},{"brand":"西门子","saletotal":3292.1,"sale":0.74},{"brand":"帅康","saletotal":3259.42,"sale":0.92},{"brand":"万家乐","saletotal":2550.89,"sale":1.36},{"brand":"万和","saletotal":2246.1,"sale":1.30}]
		},
		{   chartTitle: '行业市场份额（销额）',
			dataCategory: 'brand',
			dataValue: 'rate',
			type: 3,
		chartData: [{"brand":"方太","rate":3.36141766E8},{"brand":"老板","rate":3.12597044E8},{"brand":"华帝","rate":2.18478499E8},{"brand":"美的","rate":1.87904984E8},{"brand":"其他","rate":1.40486874E8},{"brand":"苏泊尔","rate":8.2515032E7},{"brand":"海尔","rate":6.151718E7},{"brand":"西门子","rate":3.2920996E7},{"brand":"帅康","rate":3.2594173E7},{"brand":"万家乐","rate":2.5508938E7},{"brand":"万和","rate":2.2461041E7}]
		}
	];
	var saleName;
	saleName='销额'
	chart[1].chartTitle = '行业市场份额（'+saleName+'）'
	var fixData=[];
	setTimeout(function(){
		easyReportData.renderCharts('PPT_content25', chart, fixData);
	}, 500);
	summary.push('<h2><i></i>行业概况：行业行业高度集中，TOP10品牌销额占行业总销额90.34%，销额前三的品牌是方太，老板，华帝。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content31">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>市场定位：行业中美的定位相对较低</span></h1>
			<h2><i></i><b>行业定位：</b>TOP10品牌中，6个品牌均价在1000-2000元区间，行业销量第一的美的在2000-3000元区间。</b></h2>
			<h2><i></i><b>美的定位：</b>美的均价相对较低，在2000-3000元区间。</b></h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
		{   
			chartTitle: '主要品牌 销量与均价分布',
			xAxisName: '均价（元/件）',
			yAxisName: '销量（万件）',
			type: 4,
			chartData: [{"brand":"美的","sumsale":7.69,"avgprice":2442.7},{"brand":"老板","sumsale":7.15,"avgprice":4371.44},{"brand":"方太","sumsale":6.47,"avgprice":5197.0},{"brand":"华帝","sumsale":6.38,"avgprice":3424.7},{"brand":"苏泊尔","sumsale":4.32,"avgprice":1910.2},{"brand":"海尔","sumsale":3.28,"avgprice":1876.67},{"brand":"万家乐","sumsale":1.36,"avgprice":1874.0},{"brand":"万和","sumsale":1.30,"avgprice":1726.86},{"brand":"森太","sumsale":1.03,"avgprice":1746.65},{"brand":"优盟","sumsale":0.98,"avgprice":1790.22}]
		}
	];
	var data = [];
	for (var i = 0; i < chart[0].chartData.length; i++) {
		data.push({
			legend_: chart[0].chartData[i].brand,
			value1_: chart[0].chartData[i].avgprice,
			value2_: chart[0].chartData[i].sumsale,
			value3_:100
		})
		data.push({
			legend_: chart[0].chartData[i].brand,
			value1_: chart[0].chartData[i].avgprice,
			value2_: chart[0].chartData[i].sumsale,
			value3_:100
		})
	}
	chart[0].chartData = data;
	var fixData=[];
	var xxx='sdf'
	setTimeout(function(){
		easyReportData.renderCharts('PPT_content31', chart, fixData);
	}, 500);
	summary.push('<h2><i></i>定位布局：TOP10品牌中，6个品牌均价在1000-2000元区间，美的定位相对较低。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content32">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>消费情况：<b class="data_Jin">200-300元</b>价位段产品销量最高</span></h1>
			<h2><i></i><b><b class="data_Jin">200-300元</b>：</b> 行业销量占比最高的价位段（<b class="data_Jin">xx</b>%）<b class="data_Jin">x</b><b class="data_Jin">主要竞争品牌为李宁</b></b></h2>
			<h2><i></i><b><b class="data_Jin">100-200元</b>：</b> 销量占行业的<b class="data_Jin">xx</b>%<b class="data_Jin">x</b><b class="data_Jin">主要竞争品牌为特步、李宁和鸿星尔克</b></b></h2>
			<h2><i></i><b><b class="data_Jin">500元以上</b>：</b> 销量占行业的<b class="data_Jin">xx</b>%<b class="data_Jin">x</b><b class="data_Jin">主要竞争品牌为阿迪达斯、耐克和斯凯奇</b></b></h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
	{   chartTitle: '主要品牌 销量与价位段分布',
	dataCategory: 'price',
	dataValue: 'saletotal',
	xAxisName: '价位（元） ',
	yAxisName: '    销量（万）     ',
	type: 1,
	chartData: [{"price":null,"brand":"美的","saletotal":9.01},{"price":null,"brand":"万和","saletotal":1.46},{"price":null,"brand":"老板","saletotal":7.81},{"price":null,"brand":"森太","saletotal":1.22},{"price":null,"brand":"方太","saletotal":7.16},{"price":null,"brand":"优盟","saletotal":1.12},{"price":null,"brand":"华帝","saletotal":6.96},{"price":null,"brand":"苏泊尔","saletotal":5.00},{"price":null,"brand":"海尔","saletotal":3.61},{"price":null,"brand":"万家乐","saletotal":1.55}]
	}
	];
	try{
	var pricez = [{"saleprice":null,"rate":84.13,"increasingrange":null}];
	var brandz = [];
	var result01=brandz[0]?brandz[0].result:null;
			if(result01==null){result01='';}else{result01=result01+'。';}
	var result02=brandz[1]?brandz[1].result:null;
			if(result02==null){result02='';}else{result02=result02+'。';}
	var result03=brandz[2]?brandz[2].result:null;
			if(result03==null){result03='';}else{result03=result03+'。';}
	var increasingrange01=pricez[0]?pricez[0].increasingrange:null;
	increasingrange01=increasingrange01==null?'。':'，较上期'+pricez[0].increasingrange+'%。';
	var increasingrange02=pricez[1]?pricez[1].increasingrange:null;
	increasingrange02=increasingrange02==null?'。':'，较上期'+pricez[1].increasingrange+'%。';
	var increasingrange03=pricez[2]?pricez[2].increasingrange:null;
	increasingrange03=increasingrange03==null?'。':'，较上期'+pricez[2].increasingrange+'%。';
	var fixData=[pricez[0].saleprice,pricez[0].saleprice,pricez[0].rate,increasingrange01,result01,
		pricez[1].saleprice,pricez[1].rate,increasingrange02,result02,
		pricez[2].saleprice,pricez[2].rate,increasingrange03,result03];
	var data = [];
	for (var i = 0; i < chart[0].chartData.length; i++) {
	if(chart[0].chartData[i].price==null)continue;
	var rank= chart[0].chartData[i].price.split('-')
			if(rank.length==2){
			rank=rank[0].replace(/[\u4E00-\u9FA5]+/,"")-0+(rank[1].replace(/[\u4E00-\u9FA5]+/,"")-0)
			}else{
				rank=rank[0].replace(/[\u4E00-\u9FA5]+/,"")-0+(rank[0].replace(/[\u4E00-\u9FA5]+/,"")-0)
			}
	data.push({
	legend: chart[0].chartData[i].brand,
	price: chart[0].chartData[i].price,
	saletotal: chart[0].chartData[i].saletotal,
					rank:rank
	})
	}
	commonSort(data,false,'rank')
	chart[0].chartData = data;
	var category='烟灶套装'
	if(top.tradeId_Cookie=='babyproducts'){
		if(category=='婴儿纸尿片'){
			chart[0].xAxisName='价位（元/片）'
			}else{
			chart[0].xAxisName='价位（元/100克）'
		}
	}
	if(top.tradeId_Cookie=='liquor'){
	chart[0].xAxisName='价位（元/100毫升）'
	}
	} catch (e) {
		console.log('报表32出错');
	console.log(e);
	$('#PPT_content32').removeAttr('class');
	$('#PPT_content32').css('display','none');
	}
		setTimeout(function(){
			easyReportData.renderCharts('PPT_content32', chart, fixData);
		}, 500);
	summary.push('<h2><i></i>消费情况：'+pricez[0].saleprice+'价位段产品销量最高。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content33">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>行业爆款：销额爆款为方太EMD6T+HT8BE，销量爆款为方太EMD6T+HT8BE</span></h1>
			<h2><i></i><b>销额爆款：</b>行业销额第一的产品为方太EMD6T+HT8BE，属于方太，占品牌该品类销额的23.29%，均价是4,876元。</b></h2>
			<h2><i></i><b>销量爆款：</b>行业销量第一的产品为方太EMD6T+HT8BE，属于方太，占品牌该品类销量的24.84%，均价是4,876元。</b></h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
	{   chartTitle: '美的',
	tableHead:['排名','品牌','产品名称','销量(件)','销额（万元）','均价（元/件）'],
	type: 5,
	chartData: [{"rank":1.0,"brand":"方太","model":"EMD6T+HT8BE","saletotal":17780,"rate":8669.67,"saleprice":4876.0},{"rank":2.0,"brand":"方太","model":"JQ08TS+HT8BE","saletotal":8024,"rate":5305.65,"saleprice":6612.0},{"rank":3.0,"brand":"华帝","model":"I11083+I10034B","saletotal":15635,"rate":5276.16,"saleprice":3375.0},{"rank":4.0,"brand":"老板","model":"26A7+36B0","saletotal":8663,"rate":3723.87,"saleprice":4299.0},{"rank":5.0,"brand":"苏泊尔","model":"J515+QB506","saletotal":16522,"rate":2513.63,"saleprice":1521.0},{"rank":10.0,"brand":"美的","model":"DJ118+Q213B","saletotal":12246,"rate":2111.41,"saleprice":1724.0}]
	},
	{   chartTitle: '美的',
	tableHead:['排名','品牌','产品名称','销量(件)','销额（万元）','均价（元/件）'],
	type: 5,
	chartData: [{"rank":1.0,"brand":"方太","model":"EMD6T+HT8BE","saletotal":17780,"rate":8669.67,"saleprice":4876.0},{"rank":2.0,"brand":"苏泊尔","model":"J515+QB506","saletotal":16522,"rate":2513.63,"saleprice":1521.0},{"rank":3.0,"brand":"华帝","model":"I11083+I10034B","saletotal":15635,"rate":5276.16,"saleprice":3375.0},{"rank":4.0,"brand":"海尔","model":"E900T2S+QE5B1","saletotal":12986,"rate":2120.07,"saleprice":1633.0},{"rank":5.0,"brand":"苏泊尔","model":"J611+QB506","saletotal":12420,"rate":2482.76,"saleprice":1999.0},{"rank":6.0,"brand":"美的","model":"DJ118+Q213B","saletotal":12246,"rate":2111.41,"saleprice":1724.0}]
	}
	];
	try{
	var fixData=[];
	var name= '美的';
	var chartData0,chartData1,chartlen0,chartlen1;
		for (var i = 0; i < chart[0].chartData.length; i++) {
		if(chart[0].chartData[i].brand==name){
			chartData0=chart[0].chartData[i];
			chartlen0=i;
		}
	}
		for (var i = 0; i < chart[1].chartData.length; i++) {
		if(chart[1].chartData[i].brand==name){
			chartData1=chart[1].chartData[i];
			chartlen1=i;
		}
	}
	chart[0].chartData=chart[0].chartData.slice(0,5)
	chart[1].chartData=chart[1].chartData.slice(0,5)
	if(chartlen0>4){
		chart[0].chartData.push(chartData0)
		chart[0].chartTitle='行业销额TOP5+'+chart[0].chartTitle+' 爆款产品销售概况';
	}else{
	chart[0].chartTitle='行业+'+chart[0].chartTitle+' 销额TOP5爆款产品销售概况';
	}
	if(chartlen1>4){
		chart[1].chartData.push(chartData1)
		chart[1].chartTitle='行业销量TOP5+'+chart[1].chartTitle+' 爆款产品销售概况';
	}else{
	chart[1].chartTitle='行业+'+chart[1].chartTitle+' 销量TOP5爆款产品销售概况';
	}
	} catch (e) {
		console.log('报表33出错');
	console.log(e);
	$('#PPT_content33').removeAttr('class');
	$('#PPT_content33').css('display','none');
	}
		setTimeout(function(){
			easyReportData.renderCharts('PPT_content33', chart, fixData);
		}, 500);
	summary.push('<h2><i></i>爆款产品：行业销额爆款为方太EMD6T+HT8BE，行业销量爆款为方太EMD6T+HT8BE。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content34">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>销售渠道：行业销额贡献最高的店铺为方太官方旗舰店</span></h1>
			<h2><i></i><b>行业：</b>销额最高的店铺是方太官方旗舰店，销额占比达15.3%。</h2>
			<h2><i></i><b>美的：</b>美的销额最高的店铺为美的官方旗舰店，在行业中销额占比为2.52%。</h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
	{   chartTitle: '美的',
	tableHead:['排名','店铺名称','销量(件)','销额(万元)','销额占比','均价（元/件）'],
	type: 5,
	chartData: [{"rank":1.0,"shopname":"方太官方旗舰店","sale":39751,"total":22231.15,"percent":15.3,"price":5593.0},{"rank":2.0,"shopname":"老板电器旗舰店","sale":41929,"total":19177.03,"percent":13.2,"price":4574.0},{"rank":3.0,"shopname":"苏宁易购官方旗舰店","sale":50048,"total":13290.8,"percent":9.15,"price":2656.0},{"rank":4.0,"shopname":"华帝旗舰店","sale":23863,"total":8991.07,"percent":6.19,"price":3768.0},{"rank":5.0,"shopname":"美的官方旗舰店","sale":12041,"total":3660.67,"percent":2.52,"price":3040.0},{"rank":6.0,"shopname":"苏泊尔厨卫旗舰店","sale":16868,"total":3620.43,"percent":2.49,"price":2146.0},{"rank":7.0,"shopname":"美的厨房电器旗舰店","sale":8288,"total":3031.05,"percent":2.09,"price":3657.0},{"rank":8.0,"shopname":"fotile方太爱无烟专卖店","sale":5770,"total":2732.42,"percent":1.88,"price":4736.0},{"rank":9.0,"shopname":"帅康旗舰店","sale":6985,"total":2686.14,"percent":1.85,"price":3846.0},{"rank":10.0,"shopname":"美的九鼎专卖店","sale":7705,"total":2491.88,"percent":1.71,"price":3234.0}]
	}
	];
	try{
	var saleName;
	saleName='销额'
	var fixData=[];
	var name= '美的';
	var chartData0,chartlen0;
		for (var i = 0; i < chart[0].chartData.length; i++) {
		chart[0].chartData[i].percent=chart[0].chartData[i].percent+'%'
		if(chart[0].chartData[i].brand==name){
			chartData0=chart[0].chartData[i];
			chartlen0=i;
		}
	}
	chart[0].chartData=chart[0].chartData.slice(0,11);
	if(chart[0].chartData.length>10){
		//chart[0].chartData.push(chartData0);
		chart[0].chartTitle='行业'+saleName+'TOP10店铺+'+chart[0].chartTitle+' 销售情况'
	}else{
		chart[0].chartTitle='行业+'+chart[0].chartTitle+' '+saleName+'TOP10店铺销售情况'
	}
	chart[0].tableHead=['排名','店铺名称','销量(件)','销额(万元)',saleName+'占比','均价（元/件）']
	} catch (e) {
		console.log('报表34出错');
	console.log(e);
	$('#PPT_content34').removeAttr('class');
	$('#PPT_content34').css('display','none');
	}
		setTimeout(function(){
			easyReportData.renderCharts('PPT_content34', chart, fixData);
		}, 500);
	summary.push('<h2><i></i>销售渠道：行业销额贡献最高的店铺为方太官方旗舰店，销额占比达15.3%。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content36">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>整体评价情况：<b class="data_Jin">洋河</b>评论数最多，万家乐差评率第一</span></h1>
			<h2><i></i><b>评论数：</b><b class="data_Jin">洋河</b>评论数最多，<b class="data_Jin">五粮液</b>评论数紧随其后<b class="data_Jin">，XX评论数位居第五</b>。</h2>
			<h2><i></i><b>差评率：</b>万家乐差评率最高（达7.39%），行业平均差评率（3.94%）。</h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
	{   chartTitle: '美的',//放用户自身品牌
	dataCategory: 'brand',
	dataValue: 'score',
	xAxisName: ' ',
	yAxisName: ['评论量（万）','差评率（%）'],
	type: 6,
	chartData: [{"brand":"华帝","score":2.32,"percent":3.75,"avgpercent":3.94},{"brand":"美的","score":2.31,"percent":3.97,"avgpercent":3.94},{"brand":"老板","score":2.17,"percent":3.33,"avgpercent":3.94},{"brand":"方太","score":1.76,"percent":2.26,"avgpercent":3.94},{"brand":"苏泊尔","score":1.32,"percent":5.13,"avgpercent":3.94},{"brand":"海尔","score":1.19,"percent":4.03,"avgpercent":3.94},{"brand":"森太","score":0.53,"percent":3.13,"avgpercent":3.94},{"brand":"优盟","score":0.41,"percent":2.88,"avgpercent":3.94},{"brand":"万家乐","score":0.36,"percent":7.39,"avgpercent":3.94},{"brand":"万和","score":0.34,"percent":7.02,"avgpercent":3.94}]
	}
	];
	try{
	var mention = [{"rank":1.0,"brand":"华帝"},{"rank":2.0,"brand":"美的"}];
	var data = [];
		var title=chart[0].chartTitle
		var titleRank;
			for (var i = 0; i < chart[0].chartData.length; i++) {
			if(title==chart[0].chartData[i]['brand']){titleRank=i+1}
			data.push({
				brand: chart[0].chartData[i]['brand'],
				legend: '评论数',
				type: "bar",
				score: chart[0].chartData[i]['score'],
				yAxisIndex: 0
			})
			data.push({
				brand: chart[0].chartData[i]['brand'],
				legend: '差评率',
				type: "line",
				score: chart[0].chartData[i]['percent'],
				yAxisIndex: 1
			})
			data.push({
				brand: chart[0].chartData[i]['brand'],
				legend: '行业平均差评率',
				type: "line",
				score: chart[0].chartData[i]['avgpercent'],
				yAxisIndex: 1
			})
		}
		chart[0].chartData=data;
		
		var text='，'+title+"评论数位居第"+titleRank
		var mention = [{"rank":1.0,"brand":"华帝"},{"rank":2.0,"brand":"美的"}]
		if(title==mention[0].brand||title==mention[1].brand){
				text='';
			}else{
			text='，'+title+"评论数位居第"+mention[2].rank
		}
		var fixData = [mention[0].brand,
		mention[0].brand,mention[1].brand,text]
		
	chart[0].chartTitle = '主要品牌 评论数及差评率'
	} catch (e) {
		console.log('报表36出错');
	console.log(e);
	$('#PPT_content36').removeAttr('class');
	$('#PPT_content36').css('display','none');
	}
		setTimeout(function(){
			easyReportData.renderCharts('PPT_content36', chart, fixData);
		}, 500);
	summary.push('<h2><i></i>整体评价情况：TOP10品牌中，'+mention[0].brand+'评论数最多，万家乐差评率第一。</h2>');
});
</script><div class="slidLi_Jin" id="PPT_content35">
	<div class="slidLiIn_Jin">
		<div class="topDatabox_Jin">
			<h1 class="title_Jin"><i class="line_Jin"></i><span>用户关注：<b class="data_Jin">产品体验</b>最受行业用户关注，<b class="data_Jin">服务体验</b>差评率高</span></h1>
			<h2><i></i><b>提及率：</b>行业用户最关注<b class="data_Jin">产品体验</b>，提及率为<b class="data_Jin">xx</b>%。美的用户最关注<b class="data_Jin">产品体验</b>，提及率为<b class="data_Jin">XX</b>%。</h2>
			<h2><i></i><b>差评率：</b>美的<b class="data_Jin">服务体验</b>差评率最高，达<b class="data_Jin">XX</b>%，<b class="data_Jin">高于行业差评率（X%）</b>，<b class="data_Jin">需要改进</b>。</h2>
		</div>
		<div class="repordBox_jin">
			<div class="lBox_Jin" ></div>
			<div class="rBox_Jin" ></div>
		</div>
		<h5>数据来源：观星台，2018年01月 - 2018年07月</h5>
	</div>
</div>
<script>
$(function(){
	var chart = [
	{   chartTitle: '美的',
	dataCategory: 'index',
	dataValue: ['mentionRate','negativeCommentRate'],
	xAxisName: '  ',
	yAxisName: ['提及率（%）','差评率（%）'],
	type: 2,
	chartData: [{"index":"售后服务","mentionRate":47.43,"negativeCommentRate":5.55,"obj":"行业"},{"index":"购买体验","mentionRate":32.4,"negativeCommentRate":4.28,"obj":"行业"},{"index":"产品体验","mentionRate":30.91,"negativeCommentRate":5.24,"obj":"行业"},{"index":"售后服务","mentionRate":50.44,"negativeCommentRate":4.74,"obj":"美的"},{"index":"购买体验","mentionRate":32.69,"negativeCommentRate":4.08,"obj":"美的"},{"index":"产品体验","mentionRate":32.52,"negativeCommentRate":4.32,"obj":"美的"}]
	}
	];
	try{
	if(chart[0].chartData.length == 0){
		$('#PPT_content35').remove();
		return;
	}
	var mentionRate={};
		var negativeCommentRate={};
		mentionRate.arr=[]
		mentionRate.arr01=[]
		mentionRate.arr01[0]=[]
		mentionRate.arr01[1]=[]
		mentionRate.arr02=[]
		mentionRate.arr02[0]=[]
		mentionRate.arr02[1]=[]
		negativeCommentRate.arr=[]
		negativeCommentRate.arr01=[]
		negativeCommentRate.arr01[0]=[]
		negativeCommentRate.arr01[1]=[]
		negativeCommentRate.arr02=[]
		negativeCommentRate.arr02[0]=[]
		negativeCommentRate.arr02[1]=[]
		
		for (var i = 0; i < chart[0].chartData.length; i++) {
			if(chart[0].chartData[i].obj=='行业'){
				mentionRate.arr01[0].push(chart[0].chartData[i].mentionRate)
				mentionRate.arr01[1].push(i)
				negativeCommentRate.arr01[0].push(chart[0].chartData[i].negativeCommentRate)
				negativeCommentRate.arr01[1].push(i)
			}else{
				mentionRate.arr02[0].push(chart[0].chartData[i].mentionRate)
				mentionRate.arr02[1].push(i)
				negativeCommentRate.arr02[0].push(chart[0].chartData[i].negativeCommentRate)
				negativeCommentRate.arr02[1].push(i)
			}
			mentionRate.arr.push(chart[0].chartData[i].mentionRate)
			negativeCommentRate.arr.push(chart[0].chartData[i].negativeCommentRate)
			chart[0].chartData[i].barName=chart[0].chartData[i].obj+'提及率'
			chart[0].chartData[i].lineName=chart[0].chartData[i].obj+'差评率'
		}
	mentionRate.max01 = Math.max.apply(Math, mentionRate.arr01[0])//行业最大提及率
		mentionRate.maxIndex01 = mentionRate.arr01[1][mentionRate.arr01[0].indexOf(mentionRate.max01)]//行业最大提及率 index
		mentionRate.maxName01 =chart[0].chartData[mentionRate.maxIndex01].index//行业最大提及率 name指标
		
		negativeCommentRate.max01 = Math.max.apply(Math, negativeCommentRate.arr01[0])    //行业最大差评率
		negativeCommentRate.maxIndex01 = negativeCommentRate.arr01[1][negativeCommentRate.arr01[0].indexOf(negativeCommentRate.max01)]  //行业最大差评率 index
		negativeCommentRate.maxName01 =chart[0].chartData[negativeCommentRate.maxIndex01].index  //行业最大差评率 name指标
		
		mentionRate.max02 = Math.max.apply(Math, mentionRate.arr02[0])//品牌最大提及率
		mentionRate.maxIndex02 = mentionRate.arr02[1][mentionRate.arr02[0].indexOf(mentionRate.max02)]//品牌最大提及率 index
		mentionRate.maxName02 =chart[0].chartData[mentionRate.maxIndex02].index//品牌最大提及率 name指标
		
		negativeCommentRate.max02 = Math.max.apply(Math, negativeCommentRate.arr02[0])    //品牌最大差评率
		negativeCommentRate.maxIndex02 = negativeCommentRate.arr02[1][negativeCommentRate.arr02[0].indexOf(negativeCommentRate.max02)]  //品牌最大差评率 index
		negativeCommentRate.maxName02 =chart[0].chartData[negativeCommentRate.maxIndex02].index  //品牌最大差评率 name指标
		
		var thisNegativeCommentRate=$.map(chart[0].chartData,function(n){
			if(n.obj=='行业'&&n.index==negativeCommentRate.maxName02){
				return n
			}
		});
	if(thisNegativeCommentRate.length>0){
		thisNegativeCommentRate=thisNegativeCommentRate[0].negativeCommentRate
	}
		
		var comFalg=negativeCommentRate.max02-thisNegativeCommentRate;
		// var comFalg=negativeCommentRate.max02-negativeCommentRate.max01;
	var text01,text02;
		if(comFalg>0){
			text01='高于行业差评率'
		text02='需要改进'
		}else if(comFalg<0){
			text01='低于行业差评率'
			text02='应继续保持'
		}else{
			text01='与行业差评率持平'
		text02='仍有改善空间'
		}
		var fixData = [mentionRate.maxName01,negativeCommentRate.maxName01,
		mentionRate.maxName01,mentionRate.max01,mentionRate.maxName02,mentionRate.max02,
		negativeCommentRate.maxName02,negativeCommentRate.max02,text01,text02 ]
	chart[0].chartTitle = '行业vs' +chart[0].chartTitle+'一级指标提及率及差评率分布'
	} catch (e) {
		console.log('报表35出错');
	console.log(e);
	$('#PPT_content35').removeAttr('class');
	$('#PPT_content35').css('display','none');
	}
		setTimeout(function(){
			easyReportData.renderCharts('PPT_content35', chart, fixData);
		}, 500);
	summary.push('<h2><i></i>用户关注：'+ mentionRate.maxName01+'最受行业用户关注，'+negativeCommentRate.maxName01+'差评率高。</h2>');
});
</script><div class="slidLi_Jin li23_Jin" id="PPT_summary27"></div>
<script>
$(function(){
	easyReportData.renderEnd('PPT_summary27', summary);
})
</script><div class="slidLi_Jin li23_Jin" id="PPT_summary37"></div>
<script>
$(function(){
	easyReportData.renderEnd('PPT_summary37', summary2);
})
</script>